﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Collections.ObjectModel;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     ClientType
    /// Author:         Wenshu Zhang
    /// Creation Date:  2011-12-29
    /// Description:  用户类别
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public  class ClientType
    {
        public ClientType()
        {
            ClientCollection = new Collection<Client>();
        }
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]//说明这里的ID是自动编号的
        public int ID { get; set; }

        [Required]
        public string Name { get; set; }

        public string Discount { get; set; }//折扣

        public string Remark { get; set; }

        public ICollection<Client> ClientCollection { get; set; }
    }
}
